﻿<?xml version="1.0" encoding="utf-8" ?>
<Feature id="Ratings">
	<BusinessObjects>
		<BusinessObject type="Rating" key="id">
			<Field name="id" type="Guid" />
			<Field name="articleId" type="Guid" />
			<Field name="name" type="String" />
			<Field name="value" type="Integer" />
		</BusinessObject>

		<BusinessObject type="RatingLog" key="id">
			<Field name="userId" type="Guid" />
			<Field name="pictureId" type="Guid" />
		</BusinessObject>
	</BusinessObjects>

	<BusinessRules>
		<BusinessRule name="submitRating" security="disabled">
			<LocalClass name="Articles.ArticleAdminBizRules,ScsCore" />
		</BusinessRule>
		<BusinessRule name="hasPostedRating" security="disabled">
			<LocalClass name="Articles.ArticleAdminBizRules,ScsCore" />
		</BusinessRule>
		<BusinessRule name="logUserRatingPost" security="disabled">
			<LocalClass name="Articles.ArticleAdminBizRules,ScsCore" />
		</BusinessRule>
	</BusinessRules>
</Feature>
